package com.weixing.mall.base.enums;

import lombok.NoArgsConstructor;


/**
 * 是否
 *
 * @author  siashan
 * @since  v1.0
 */

@NoArgsConstructor
public enum WhetherEnum implements IBaseEnum<Integer> {
    NO(0,"否"),
    YES(1,"是");

    private int value;
    private String desp;

    WhetherEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
